﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GridVide套DataList.aspx.cs" Inherits="数据访问控件_GridVide套DataList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>GridVide套DataList</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <br />
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Height="281px" Width="900px" OnRowDataBound="ccc">
            <Columns>
                <asp:TemplateField>
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                    
                        <asp:DataList ID="DataList1" runat="server" BorderColor="Blue" GridLines="Vertical" RepeatColumns="3" RepeatDirection="Horizontal">
                            <ItemTemplate>
                                
                                <%#Eval("NewsID") %>
                            </ItemTemplate>
                        </asp:DataList>
                        
                        
                        <asp:Label ID="Label1" runat="server" Text='<%#Eval("lx")%>'></asp:Label>
                    </ItemTemplate>
                    
                    
                    
                    
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
